package com.buka.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.buka.domain.ResponseResult;
import com.buka.pojo.Category;
import com.buka.vo.CategoryVo;

import java.util.List;

/**
 * @author 26755
 * @description 针对表【category(分类表)】的数据库操作Service
 * @createDate 2024-03-21 14:51:34
 */
public interface CategoryService extends IService<Category> {
    ResponseResult getCategoryList();

    List<CategoryVo> listAllCategory();

    ResponseResult list(int pageNum, int pageSize, String name, String status);

    ResponseResult addCAtegory(Category category);

    ResponseResult getCategoryById(int id);

    ResponseResult updateCategoryById(Category category);

    ResponseResult deleteCategoryById(int id);
}
